package com.yswy.domain.mapper.tf;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.domain.entity.tf.TgChannel;
import com.yswy.domain.vo.dto.BaseFilter;
import com.yswy.domain.vo.gld.list.TgChannelList;
import com.yswy.domain.vo.gld.search.TgChannelSearch;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

@Mapper
public interface TgChannelMapper extends BaseMapper<TgChannel> {


    //获取所有TgChannleList
    Page<TgChannelList> pageTgChannelList(@Param("req") TgChannelSearch req,
                                          @Param("userId") Long userId,
                                          Page<BaseFilter> page);
}
